package com.freedom.admin.infrastructure.persistence.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freedom.common.core.base.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName("sys_user")
public class SysUserPO extends BasePO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;

    private String nickname;

    private String mobile;

    private Integer gender;

    private String avatar;

    private String password;

    private String email;

    private Integer status;

    private Integer deptId;

    @ApiModelProperty("逻辑删除标识(1:删除;0:正常)")
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;

}
